//
//  QZHeaderView.m
//  map
//
//  Created by 000 on 16/11/29.
//  Copyright © 2016年 faner. All rights reserved.
//

#import "QZHeaderView.h"

@interface QZHeaderView()

@property (weak, nonatomic) IBOutlet UIImageView *headIcon;


@end

@implementation QZHeaderView

+ (instancetype)headView
{
    return [[NSBundle mainBundle] loadNibNamed:@"QZHeaderView" owner:nil options:nil].lastObject;
}

- (void)awakeFromNib
{
    self.headIcon.layer.cornerRadius = 25;
    UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(changePic)];
    
    [self.headIcon addGestureRecognizer:tapGesture];
}
- (void)changePic
{
    NSLog(@"%s",__func__);
}
@end
